    <h2>游戏结果</h2>
    <button @click="restartGame">开始下一把</button>
    <div v-if="room.status===ROOM_STATUS.COM_SCORES">
      等待计算结果
    </div>
    <div v-if="room.status===ROOM_STATUS.SHOW_SCORES">
      结果：
      <template v-for="results in room.data">
        <div v-if="results.player_id === player.id" style="border:2px solid red;margin:5px;border-radius:5px;background:#d6d6d6;">
          <p class="title">
            <b>我</b>
            <!-- <span v-else>{{results.player&&results.player.info.username}}</span> -->
            <span>总计:<scores :score="results.total"></scores></span>
          </p>
          <div class="card-list">
            <div class="card" v-for="card_item in results.submit_res_cards.top" v-html="cartNameToHtml(card_item)"></div>
          </div>
          <div class="card-list">
            <div class="card" v-for="card_item in results.submit_res_cards.mid" v-html="cartNameToHtml(card_item)"></div>
          </div>
          <div class="card-list">
            <div class="card" v-for="card_item in results.submit_res_cards.btm" v-html="cartNameToHtml(card_item)"></div>
          </div>
          <hr>
          <div class="one-vs-one-list">
            <div v-for="one_vs_one in results.one_vs_one_list" class="one-vs-one">
              <p>VS: {{one_vs_one.player&&one_vs_one.player.info.username}}（总计(<scores :score="getTotalByPlayerId(one_vs_one.player_id)"></scores>)）</p>
                <p>头:<scores :score="one_vs_one.top"></scores></p>
                <p>中:<scores :score="one_vs_one.mid"></scores></p>
                <p>尾:<scores :score="one_vs_one.btm"></scores></p>
              <div v-if="!one_vs_one.is_special">
                <p>打枪:{{one_vs_one.multiple===2?"是":"否"}}</p>
                <p>半打枪:{{one_vs_one.extra!==0?`是(${one_vs_one.extra})`:"否"}}</p>
              </div>
              <div v-else>
                特殊牌加成:<scores :score="one_vs_one.extra"></scores>
              </div>
              <div class="card-list">
                <div class="card" v-for="card_item in one_vs_one.submit_res_cards.top" v-html="cartNameToHtml(card_item)"></div>
              </div>
              <div class="card-list">
                <div class="card" v-for="card_item in one_vs_one.submit_res_cards.mid" v-html="cartNameToHtml(card_item)"></div>
              </div>
              <div class="card-list">
                <div class="card" v-for="card_item in one_vs_one.submit_res_cards.btm" v-html="cartNameToHtml(card_item)"></div>
              </div>
            </div>
          </div>
          
        </div>
      </template>
    </div>